#ifndef FLAGTYPE_HPP_
#  define FLAGTYPE_HPP_

#include "GeneralType.hpp"

class FlagType : public GeneralType{

public:
	FlagType(bool* variable,string falg, string shortDescription,bool defaultValue,string longDescription,string group,int order ) ;
	virtual bool isFlag(){ return true ; }
	virtual string getValueAsString() ;
	virtual string getDefaultAsString()   ;
	virtual bool getDefaultFlag() {
		return mDefaultValue ; 
  }
	virtual void setFlag(bool value) ; 


protected:
  bool* mValue ; 
  bool mDefaultValue ; 
	 

} ;

#endif /* ifndef FLAGTYPE_H */
// -*- C++ -*-

// (C) 2006 by Nathan Dunn, <ndunn@mac.com>


